package com.chezhujie.www.persistence;

import com.chezhujie.www.domain.${simpleClassName!};

import java.util.List;
import java.util.Map;

/**
* ${describe}
* Created by 汤伟杰 on 2017/5/23.
 */
public interface ${simpleClassName!}Mapper extends BaseMapper<${simpleClassName!}>{
  <#--  void insert(${simpleClassName!} ${simpleClassname!});
    void update(${simpleClassName!} ${simpleClassname!});
    void deleteById(String ${keyProperties});
    void deleteByIds(List<String> list);
    ${simpleClassName!} queryById(String id);
    List<${simpleClassName!}> queryByIds(List<String> list);
    void saves(List<${simpleClassName!}> list);
    int getTotalRows(Map<String, Object> param);
    List<Map<String,Object>> getList(Map<String, Object> param);-->
    <#list columnList as var>
        <#if 'select'==var.inputType&&('int'==var.inputCode||'str'==var.inputCode)>
    List<Map<String,Object>> list${var.propertiesUp}(Map<String, Object> param);
        </#if>
    </#list>

}
